package com.abing.starry.spi.monitor.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serializable;

/**
 * @Author CaptainBing
 * @Date 2024/9/25 16:14
 * @Description
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class CpuInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "JVM进程CPU使用率,0-100")
    private float jvmUsage;

    @Schema(description = "系统CPU使用率,0-100")
    private float systemUsage;

}
